package 多态.多态的优缺点;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 姚东名
 * Date: 2024-06-16
 * Time: 21:38
 */
public class Rect extends Shape {
    @Override
    public void draw() {
        System.out.println("♦");
    }
}
